home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / graphics / aim_xtra.arc / DEMOCER.AIM < prev    next >
Text File  |  1988-08-17  |  510b  |  19 lines

  1. read cermet,B * read cermet image
  2. don,3         * lowest bitplne display
  3. thr B,B,1     * threshold
  4. inv           * invert bitplane
  5. bcop 1,3      * copy bitplane
  6. ero 8         * erode 8
  7. dil 8         * dilate 8  
  8. bcop 3,1      * orignal
  9. dil 8,1,6,1,B * dilate 8
  10. ero 8,1,6,1,B * erode 8
  11. bcop 3,1      * copy bitplane
  12. inv           * invert
  13. -skel 100     * skeleton
  14. dil 1         * dilate (for display)
  15. inv           * invert
  16. label B,C,1   * label the regions
  17. bdisp,C       * display bitplanes
  18.  
  19.